/*  
*  Camera.h
*
*  Created by Jesse Schmieg on 02/02/2014.
*  Copyright 2014. All rights reserved.
*
* This file is part of the CS5721 Computer Graphics library (graphicsLibrary).
*
* graphicsLibrary is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* graphicsLibrary is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
* 
* You should have received a copy of the GNU General Public License
* along with graphicsLibrary.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef __CAMERA_H__
#define __CAMERA_H__ 1

#include <string>

#include "Vector3D.h"

namespace sivelab
{

	class Camera {
	private:

		// Name of the camera
		std::string name;

		// Type of the camera, e.g. "perspective"
		std::string type;

		// Locaiton of the camera
		Vector3D position;

		// The point that the camera faces toward
		Vector3D viewDir;

		// The focal length of the camera to the plane
		float focalLength;

	public:

		Camera(const std::string& _name, const std::string& _type, const Vector3D& _position, const Vector3D& _viewDir, const float _focalLength)
			: name(_name), type(_type), position(_position), viewDir(_viewDir), focalLength(_focalLength) { }

		std::string getName() {
			return name;
		}

		std::string getType() {
			return type;
		}

		Vector3D getPosition() {
			return position;
		}

		Vector3D getViewDir() {
			return viewDir;
		}

		float getFocalLength() {
			return focalLength;
		}

	};

}

#endif